import request from "@/utils/request";

export const login = (data: any) => {
  return request({
    url: '/customer/loginByPassword',
    method: 'POST',
    data
  })
}